/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package personal.obj;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * @author PHATNBSE61057
 */
public class Order implements Serializable {

    private int orderID;
    private Timestamp bookingTime;
    private String username;
    private int statusID;
    private double totalPrice;

    public Order() {
    }

    public Order(int orderID, Timestamp bookingTime, String username, int statusID, double totalPrice) {
        this.orderID = orderID;
        this.bookingTime = bookingTime;
        this.username = username;
        this.statusID = statusID;
        this.totalPrice = totalPrice;
    }

    /**
     * @return the orderID
     */
    public int getOrderID() {
        return orderID;
    }

    /**
     * @param orderID the orderID to set
     */
    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    /**
     * @return the bookingTime
     */
    public Timestamp getBookingTime() {
        return bookingTime;
    }

    /**
     * @param bookingTime the bookingTime to set
     */
    public void setBookingTime(Timestamp bookingTime) {
        this.bookingTime = bookingTime;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the statusID
     */
    public int getStatusID() {
        return statusID;
    }

    /**
     * @param statusID the statusID to set
     */
    public void setStatusID(int statusID) {
        this.statusID = statusID;
    }

    /**
     * @return the totalPrice
     */
    public double getTotalPrice() {
        return totalPrice;
    }

    /**
     * @param totalPrice the totalPrice to set
     */
    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }
}
